#include "util_buffer.h"

memptr_t CxSafeRingBuffer::data()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::data();
}

int_t CxSafeRingBuffer::size()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::size();
}

xResult CxSafeRingBuffer::resize( int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::resize(_Size);
}

int_t CxSafeRingBuffer::capacity()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::capacity();
}

xResult CxSafeRingBuffer::resize_capacity( int_t _NewSize )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::resize_capacity(_NewSize);
}

bool_t CxSafeRingBuffer::empty()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::empty();
}

xResult CxSafeRingBuffer::clear()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::clear();
}

xResult CxSafeRingBuffer::insert_front( const wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::insert_front(_DataPtr, _Size);
}

xResult CxSafeRingBuffer::drop_front( int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::drop_front(_Size);
}

xResult CxSafeRingBuffer::copy_front( wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::copy_front(_DataPtr, _Size);
}

xResult CxSafeRingBuffer::cut_front( wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::cut_front(_DataPtr, _Size);
}

xResult CxSafeRingBuffer::insert_back( const wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::insert_back(_DataPtr, _Size);
}

xResult CxSafeRingBuffer::drop_back( int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::drop_back(_Size);
}

xResult CxSafeRingBuffer::copy_back( wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::copy_back(_DataPtr, _Size);
}

xResult CxSafeRingBuffer::cut_back( wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::cut_back(_DataPtr, _Size);
}

xResult CxSafeRingBuffer::insert( int_t _BeginPos, const wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::insert(_BeginPos, _DataPtr, _Size);
}

xResult CxSafeRingBuffer::drop( int_t _BeginPos, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::drop(_BeginPos, _Size);
}

xResult CxSafeRingBuffer::copy( int_t _BeginPos, wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::copy(_BeginPos, _DataPtr, _Size);
}

xResult CxSafeRingBuffer::cut( int_t _BeginPos, wildptr_t _DataPtr, int_t _Size )
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::cut(_BeginPos, _DataPtr, _Size);
}

int_t CxSafeRingBuffer::length()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::length();
}

memptr_t CxSafeRingBuffer::fragment_ptr()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::fragment_ptr();
}

int_t CxSafeRingBuffer::fragment_len()
{
	XTHREAD_PROTECT_DAEMON;
	return CxRingBuffer::fragment_len();
}